home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
cfix101.zip
/
CITYFIX.DOC
next >
Wrap
Text File
|
1990-02-19
|
2KB
|
49 lines
CityFix 1.01 is here! (obviously) .. and the source is here too! not by
accident either <grin>, you can find a local pascal hacker to fix it
for local needs. All US states + Puerto Rico + Canada, + High ASCII
support for Europe is already in there. If nothing else, I learned
the State abbreviations! This is most likely the last version until
QuickBBS changes the USERS.BBS structure then I will just recompile
with the new structure. Use 'CITYFIX ?' for help.
CityFix is just a small, simple program that reads the City field from
QuickBBS's USERS.BBS file and changes the City & State look 'Proper'.
No control files are needed, just run it in your QuickBBS directory.
Command Line Parms:
-B = DO NOT erase backup file USERS.BAK. Default is to erase it.
-E = Expand States/Provinces (see below)
-C = Compress States/Provinces (see below)
-P = Strip All periods in City/State
Here are some output examples:
'Austin, tx' --> 'Austin, Tx'
'austin, TX' --> 'Austin, Tx'
'austin,tx' --> 'Austin, Tx' (inserts a space after comma)
'AUSTIN, TX' --> 'Austin, Tx' (stop yelling!)
'Austin , Texas' --> 'Austin, Texas' (deletes unnecessary space)
(with -C Parameter):
'Austin, Texas' --> 'Austin, Tx')
(with -E Parameter):
'Austin, TX' --> 'Austin, Texas';
(with -P and -E Parameters):
'Austin, t.x.' --> 'Austin, Texas';
CityFix first copies USERS.BBS to USERS.BAK. Then it goes through
each user record and fixes the city and state. It took 11 seconds to
run 341 users on this 10 MHz XT, so you can run it once a night in
maintenance. I can't beleive such a joke program got so popular,
can you? Then again, Adam Hudson didn't ever think QuickBBS would
get so popular, either.
Please report any problems or suggestions (or mispellings) to
Chris Lamprecht at FidoNet 1:382/36 or BBS (512)836-8777.